package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc RemoveSenderAndSpecMemberChannelDto
 * @使用场景
 */
@Data
public class RemoveSenderAndSpecMemberChannelDto
  extends BaseDto
  implements Serializable {

  /**
   * 身份人员 ID
   */
  @ApiModelProperty("身份人员 ID")
  private String originalRoleMemberId;

  /**
   * 个人账号 ID
   */
  @ApiModelProperty("个人账号 ID")
  private String userId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      RemoveSenderAndSpecMemberChannelDto that = (RemoveSenderAndSpecMemberChannelDto) o;
      return  originalRoleMemberId == that.originalRoleMemberId&&userId == that.userId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), originalRoleMemberId,userId);
    }

}
